/* 头部 h:70px
版心 w:1180px
内容小方块照片 w314 h190 照片大小固定
小方块内边距 左右18 上18 大小固定 w = 18*2 + 341 = 377, h = 295
方块之间空白 上下18 左右 */

/* --------公共样式---------- */
.clearfix:after{
    content: '';
    display: block;
    clear: both;
}
.container{
    width:1180px ;   
    margin:0 auto; 
}
/* ---------头部样式---------- */
header{
    height: 70px;
    background-color: #353535;
}
.head{
    /* background-color: rgb(180, 151, 151); */
    height: 70px;
}
.head .logo{
    float: left;
}
.logo img{
    margin-top:18px;
}

.nav{
    /* background-color: rgb(219, 168, 168); */
    float: left;
    margin-left: 180px;
}
.nav li{
    float: left;
}
.nav li a{
    text-decoration: none;
    color: #ddd;
    line-height: 70px;
    padding:25px 15px;
}
.search{
    font-size: 0;
    float: right;
    padding: 17px 0;
}
.search input{
    border:none;
    height: 30px;
    width: 173px;
    background-color: #000;
    border:1px solid whitesmoke;
    color: #eee;
    vertical-align: top;
}
.search button{
    width: 36px;
    height: 36px;
    border: none;
    background-color: #2396CC;
    /* font-size: 1.1em; */
    color: whitesmoke;
    vertical-align: top;
}
button .fa{
    font-size: 18px;
}
/* -------主体内容main------------ */
main{
    background-color: #DEDEDE;
    /* padding:52px 0; */
}
.content{
    padding: 52px 60px;
    box-sizing: border-box;
}
.box{
    width: 337px;
    height: 295px;
    background-color: #fff;
    float: left;
    margin-right: 24px;
    margin-top:18px;
    box-sizing: border-box;
    padding:10px 10px 0;
}
.box:nth-child(3n){
    margin-right: 0;
}
/* 内容小方块照片 w314 h190 照片大小固定
小方块内边距 左右18 上18 大小固定 w = 18*2 + 341 = 377, h = 295 */
p.time{
    line-height: 2;
    font-size: 12px;
    color: gainsboro;
}
p.title{
    line-height: 2;
    color: #333;
}
.paination{
    margin:30px 0;
    /* background-color: rgb(167, 85, 85); */
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    padding-right: 100px;
}
.paination ul{
    float: right;
}
.paination ul li{
    float: left;
    border:1px solid black;
    padding:5px;
    cursor: pointer;
    margin-right: 5px;
}
.paination ul li:hover{
    background-color: rgb(44, 44, 44);
    color: white;
}
.paination p{
    float: right;
    line-height: 26px;
}
/* ----------脚部区域 ------------*/
footer{
    height: 108px;
    background-color: #353535;
}
.foot-nav li a{
    line-height: 50px;
    text-decoration: none;
    color: #2396cc;
    font-size: 14px;
} 
.foot-nav li{
    float: left;
    width: 100px;
    height: 50px;
    /* background-color: rgb(190, 112, 112); */
}
.copyright{
    margin-top:15px;
    font-size: 14px;
    color: rgb(172, 172, 172);
}
.copyright p span{
    color: #ddd;
}